﻿using PowerHub.MES.Entities.Equipment;
using PowerHub.MES.Entities.ProcessRoute;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace PowerHub.MES.Entities.Shopfloor;

/// <summary>
/// 工作站
/// </summary>
[Table("Shopfloor_WorkStation")]
public partial class Shopfloor_WorkStation : BaseEntity
{
    /// <summary>
    /// 工作站编码
    /// </summary>
    public string? WorkStationNo { get; set; }

    /// <summary>
    /// 工作站名称
    /// </summary>
    public string? WorkStationName { get; set; }

    /// <summary>
    /// 工作站地点
    /// </summary>
    public string? Address { get; set; }

    /// <summary>
    /// 所在产线id
    /// </summary>
    public string? ProductionLineId { get; set; }

    /// <summary>
    ///工序id
    /// </summary>
    public string? ProcessId { get; set; }

    /// <summary>
    ///设备id
    /// </summary>
    public string? EquipmentManagementId { get; set; }

    //备注
    public string? Remark { get; set; }



    public virtual Shopfloor_ProductionLine? ProductionLine { get; set; }
    public virtual ProcessRoute_Process? Process { get; set; }
    public virtual Equipment_EquipmentManagement? EquipmentManagement { get; set; }
}
